package com.ljfresh.customer.dto.udesk;

import com.ljfresh.customer.dto.UDeskResult;
import com.ljfresh.customer.pojo.Ticket;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author zzx
 */
@Data
@ApiModel(description= "工单过滤返回数据")
public class TicketFilterResult extends UDeskResult {

    @ApiModelProperty(("工单数组"))
    private List<Ticket> tickets;

    //重写构造
    public TicketFilterResult(){
        super();
    }

    public TicketFilterResult(Integer code){
        super(code);
    }

    public TicketFilterResult(Integer code,String message){
        super(code,message);
    }

    public TicketFilterResult(List<Ticket> tickets, Integer code, String message) {
        super(code,message);
        this.tickets = tickets;
    }
}
